//
//  RootViewController.m
//  ABColoringBook
//
//  Created by Oli Chira on 11/6/12.
//  Copyright (c) 2012 Oli Chira. All rights reserved.
//

#import "RootViewController.h"
#import "BookController.h"

@interface RootViewController ()

@end

@implementation RootViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.navigationController.navigationBarHidden = YES;
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)runBook:(id)sender {
    
    UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];
    BookController *myBook = (BookController *)[storyBoard instantiateViewControllerWithIdentifier:@"BookController"];
    

    
    [self.navigationController pushViewController:myBook animated:YES];
    
}
@end
